package com.koo.modules.kb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:19:42
 */
@Data
@ApiModel("")
@TableName("kb_inspection_order")
public class KbInspectionOrderEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long inspectionId;


    @ColumnWidth(11)
    @ExcelProperty("收货单")
    @ApiModelProperty(value = "收货单")
    private String migoOrderNo;

    @ColumnWidth(11)
    @ExcelProperty("入库类型")
    @ApiModelProperty(value = "入库类型")
    private Integer inspectionType;

    @ColumnWidth(11)
    @ExcelProperty("入库单号")
    @ApiModelProperty(value = "入库单号")
    private String inspectionOrderNo;

    @ColumnWidth(11)
    @ExcelProperty("供应商id")
    @ApiModelProperty(value = "供应商id")
    private String supplierId;

    @ColumnWidth(11)
    @ExcelProperty("供应商名称")
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ColumnWidth(11)
    @ExcelProperty("入库单日期")
    @ApiModelProperty(value = "入库单日期")
    private String inspectionOrderDate;

    @ColumnWidth(11)
    @ExcelProperty("总金额")
    @ApiModelProperty(value = "总金额")
    private Double totalFee;

    @ColumnWidth(11)
    @ExcelProperty("总部出库日期")
    @ApiModelProperty(value = "总部出库日期")
    private String headQuarterAllotDate;

    @ColumnWidth(11)
    @ExcelProperty("总部出库单号")
    @ApiModelProperty(value = "总部出库单号")
    private String headQuarterAllotNo;

    @ColumnWidth(11)
    @ExcelProperty("审核日期")
    @ApiModelProperty(value = "审核日期")
    private Integer auditState;

    @ColumnWidth(11)
    @ExcelProperty("取消日期")
    @ApiModelProperty(value = "取消日期")
    private Integer cancelState;

    @ColumnWidth(11)
    @ExcelProperty("检查人")
    @ApiModelProperty(value = "检查人")
    private Long inspectionUserId;

    @ColumnWidth(11)
    @ExcelProperty("检查人名称")
    @ApiModelProperty(value = "检查人名称")
    private String inspectionUserName;


}
